package com.kfm.hotel.service;

import com.github.pagehelper.PageInfo;
import com.github.yulichang.extension.mapping.base.MPJDeepService;
import com.kfm.hotel.domain.IntakeInfo;

import java.util.List;
import java.util.Map;

/**
 * @author 10854
 * @description 针对表【intake_info】的数据库操作Service
 * @createDate 2023-06-09 09:07:52
 */
public interface IntakeInfoService extends MPJDeepService<IntakeInfo> {

    void checkIn(IntakeInfo intakeInfo);

    PageInfo<IntakeInfo> listCheckOut(IntakeInfo entity, Integer page, Integer limit);

    void checkOut(IntakeInfo intakeInfo, Integer opertorId);

    List<Long> getIncome();

    public Map<String, List> getIncomeByDate();

}
